@echo off
rem  **
rem  ** Este es un bat que se utiliza para generar el stub y el skel de la clase


SET JAVA_HOME=C:/Program Files/Java/jdk1.6.0_25
SET PROJECT_HOME=C:/Users/German/Desktop/TESIS


SET CP=%PROJECT_HOME%/classes

cd %PROJECT_HOME%

echo GENERANDO LOS STUB Y SKEL

%JAVA_HOME%/bin/rmic -vcompat  -classpath %CP% -d %PROJECT_HOME%/classes servidor.principal.control.ControlCliente
%JAVA_HOME%/bin/rmic -vcompat  -classpath %CP% -d %PROJECT_HOME%/classes servidor.principal.control.ControlEmpleado
%JAVA_HOME%/bin/rmic -vcompat  -classpath %CP% -d %PROJECT_HOME%/classes servidor.principal.control.ControlCategoria
%JAVA_HOME%/bin/rmic -vcompat  -classpath %CP% -d %PROJECT_HOME%/classes servidor.principal.control.ControlComprobante
%JAVA_HOME%/bin/rmic -vcompat  -classpath %CP% -d %PROJECT_HOME%/classes servidor.principal.control.ControlConcepto
%JAVA_HOME%/bin/rmic -vcompat  -classpath %CP% -d %PROJECT_HOME%/classes servidor.principal.control.ControlLibroIva
%JAVA_HOME%/bin/rmic -vcompat  -classpath %CP% -d %PROJECT_HOME%/classes servidor.principal.control.ControlReciboDeSueldo
echo STUB Y SKEL. Ok.

%JAVA_HOME%/bin/rmiregistry
 echo rmiregistry iniciado... Ok.
echo .
pause




